package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.ReplayBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IReplayMapper extends BaseMapper<ReplayBean> {
    /**
     * 查询主贴中所有的回帖
     * @param postId 主贴Id
     * @return 回帖集合
     */
    public List<ReplayBean> findByPost(Integer postId);
}
